/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author lcn <bryant338@sina.com>
 */
public interface Compareable{

    /**
     * 查找是否有这样一个对象
     * @param obj 被查找的对象
     * @param resultSet
     * @return
     */
    public Object compareObject(Object obj, ResultSet resultSet) throws SQLException;

}
